package com.abucloud.logbackdemo.dto;

import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @author party-abu
 */
@Data
@Accessors(chain = true)
public class LoginUserInfoDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotBlank(message = "登录账号不能为空")
    private String loginAccount;

    @NotBlank(message = "密码不能为空")
    private String password;

}
